<div class="easyui-layout" data-options="fit:true">
    <div data-options="region:'north'" class="center" style="">
        <div class="webmap">
            <p class="webmaptip">当前位置:</p>
            <a href="javascript:;" class="easyui-link" data-options="plain:true">系统管理</a>
            <p class="webmaptip">></p>
            <a href="javascript:;" class="easyui-link" data-options="plain:true">批次管理</a>
        </div>
        <div class="querybycon">
            <form id="query">
                <div class="queryinfo">
                    <div>短链接通道<input type="text" name="passageway"></div>
                    <div>用户ID<input type="text" name="msgUserID"></div>
                </div>

            </form>
        </div>
        <div class="querybtn">
            <a id="querybtn" href="javascript:;" class="easyui-linkbutton info"
               data-options="iconCls:'fa fa-search'">查询</a>
            <a id="add" href="javascript:;" class="easyui-linkbutton  warning"
               data-options="iconCls:'fa fa-plus'">添加</a>
            <a id="edit" href="javascript:;" class="easyui-linkbutton danger"
               data-options="iconCls:'fa fa-pencil'">编辑</a>
            <a id="del" href="javascript:;" class="easyui-linkbutton success"
               data-options="iconCls:'fa fa-remove'">删除</a>
            <div style="visibility: hidden;">aa</div>
        </div>

    </div>
    <div data-options="region:'center'" class="center">
        <table id="list"></table>
    </div>
</div>

<script type="text/javascript">
    var addUrl = "page/dynamicCode/batchadd.html";
    var editUrl = "/batch/batchedit.html";
    var delUrl = '/batch/del';
    var save = '/batch/save';
    var listUrl = "/batch/list";
    var columns = [[{
        field: 'id',
        checkbox: true
    }, {
        field: 'passageway',
        title: '短链接通道',
    }, {
        field: 'purchase',
        title: '费用',
    }, {
        field: 'msgUserID',
        title: '用户ID',
    }]];
    list.init({
        url: listUrl, columns: columns
    });
</script>
